import vue from "vue";
const _this = vue.prototype;

const goods_info = (params) => _this.$u.http.post('/goods/info', params); // 详情
const goods_list = (params) => _this.$u.http.post('/goods/goods_list', params); // 列表 ；
const cat_list = (params) => _this.$u.http.post('/goods/cat_list', params); //
const goods_order = (params) => _this.$u.http.post('/goods/order', params); // 下单接口
const order_list = (params) => _this.$u.http.post('/goods/order_list', params); // 商品订单列表
const goods_order_del = (params) => _this.$u.http.post('/goods/order_del', params); // 商品订单删除
const goods_order_info = (params) => _this.$u.http.post('/goods/order_info', params); // 商品订单详情
const goods_order_repay = (params) => _this.$u.http.post('/goods/repay', params); // 商品订单详情
export default {
	goods_info,
	goods_list,
	cat_list,
	goods_order,
	order_list,
	goods_order_del,
	goods_order_info,
	goods_order_repay
};
